<%@ page contentType="text/html;charset=utf8" import="java.util.*" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
<HEAD id=Head1>
<TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gbk">
<LINK href="YHChannelApply.files/Style.css" type=text/css rel=stylesheet>
<LINK href="YHChannelApply.files/Manage.css" type=text/css rel=stylesheet>
<SCRIPT language=javascript src="YHChannelApply.files/FrameDiv.js"></SCRIPT>
<SCRIPT language=javascript src="YHChannelApply.files/Common.js"></SCRIPT>
</HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width="98%" border=0>
  <TR>
    <TD width=15><IMG src="YHChannelApply.files/new_019.jpg" border=0></TD>
    <TD width="100%" background=YHChannelApply.files/new_020.jpg height=20></TD>
    <TD width=15><IMG src="YHChannelApply.files/new_021.jpg" border=0></TD></TR>    
   </TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="98%" border=0>
  <TR>
    <TD width=15 background=YHChannelApply.files/new_022.jpg>
    <IMG src="YHChannelApply.files/new_022.jpg" border=0> </TD>
    <TD vAlign=top width="100%" bgColor=#ffffff>
      <TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
        <TR>
          <TD class=manageHead>当前位置：博客管理 &gt; 博客列表</TD></TR>
        <TR>
          <TD height=2></TD></TR>
      </TABLE>
         <div><font color="red">${msg}</font></div>
      <TABLE borderColor=#cccccc cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
        <TR>
          <TD>
        <!-- 以下显示博客列表 -->  
		<table id=grid style="BORDER-TOP-WIDTH: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 0px; BORDER-BOTTOM-COLOR: #cccccc; WIDTH: 100%; BORDER-TOP-COLOR: #cccccc; FONT-STYLE: normal; BACKGROUND-COLOR: #cccccc; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; BORDER-RIGHT-COLOR: #cccccc" 
            cellSpacing=1 cellPadding=2 rules=all border=0>
			<tr style="FONT-WEIGHT: bold; FONT-STYLE: normal; BACKGROUND-COLOR: #eeeeee; TEXT-DECORATION: none">
				 <td width=10%>序号</td>
				 <td width=20%>分类</td>
				 <td width=40%>标题</td>
				 <td width=10%>点击次数</td>
				 <td width=20%>操作</td>
			</tr> 		
			<c:forEach var="blog" items="${listBlog}" varStatus="status">
			<tr style="FONT-WEIGHT:normal; FONT-STYLE:normal;BACKGROUND-COLOR:white;TEXT-DECORATION:none">
			<td>${status.count }</td>
			<td>${blog.title }</td>
			<td>${blog.category }</td>
			<td>${blog.createTime }</td>
			<td>																		
			<a href="${pageContext.request.contextPath}/client/BlogClientServlet?op=viewBlog&id=${blog.id}" target="_blank">预览</a>
			<a href="${pageContext.request.contextPath}/manager/BlogServlet?op=viewBlog&id=${blog.id}">查看</a>
			<a href="${pageContext.request.contextPath}/manager/BlogServlet?op=deleteBlog&id=${blog.id}">删除</a>
			</td>
			</tr>
			</c:forEach>
		    <tr><td colspan="5">总计有<c:out value="${listBlog.size()}"/>条信息</td></tr>	
	    </table>
          </TD>
        </TR>
        </TABLE>
    </TD>
    <TD width=15 background=YHChannelApply.files/new_023.jpg>
    <IMG src="YHChannelApply.files/new_023.jpg" border=0> </TD>
  </TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="98%" border=0>
  <TR>
    <TD width=15><IMG src="YHChannelApply.files/new_024.jpg" border=0></TD>
    <TD align=middle width="100%" background=YHChannelApply.files/new_025.jpg height=15></TD>
    <TD width=15><IMG src="YHChannelApply.files/new_026.jpg" border=0></TD></TR>
</TABLE>
</BODY>
</HTML>
